<?php
/*  
  Copyright (c) 2010-02 SongCMS 
  SongCMS All Rights Reserved. 
  Support:www.SongCMS.com
  QQ:544255858   19951025
  Author:Song  Version:3.17
  Date:2010-08-12 09:28:32
*/
if(!empty($_POST['UserName']) && !empty($_POST['UserPassword'])){
	if (!External()) MsgBox(1,$Warning[15],'-1');
	$user = new user();
	$user -> Audit = $WebUserAudit; 
	$user -> reg();	
}
$pfe['pfTitle'] = $Html['NewReg'];
$pfe['Action'] = 'Add';
$SC -> assign('pfe',$pfe);
$product = new product();
$product -> Lang = $Lang;
$product -> Ltext = $Html['page'];
$SC -> register -> templateObject("product",$product);
$news = new news();
$news -> Lang = $Lang;
$news -> Ltext = $Html['page'];
$SC -> register -> templateObject("news",$news);
$article = new article();
$article -> Lang = $Lang;
$article -> Ltext = $Html['page'];
$SC -> register -> templateObject("article",$article);
$SC -> register -> templateObject("sdb",$sdb);
include_once('top.php');
include_once('bottom.php');
$SC -> display($TemFile,$GetUrlPar);
?>